//
//  KSPickingGoodsLoadedTableViewCell.swift
//  Supermarket
//
//  Created by liuxm on 2017/9/30.
//  Copyright © 2017年 kushao. All rights reserved.
//

import UIKit

/// 开始分拣-已装箱
class KSPickingGoodsLoadedTableViewCell: UITableViewCell {

    @IBOutlet weak var deliverLabel: UILabel!
    @IBOutlet weak var goodsImage: UIImageView!
    @IBOutlet weak var goodsNameLabel: UILabel!
    @IBOutlet weak var skuDetailLabel: UILabel!
    @IBOutlet weak var shelfLabel: UILabel!
    @IBOutlet weak var numLabel: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func setDataWithModel(model: KSStorageFjDetailListGoodsModel) {
        goodsImage.sd_setImage(with: URL.init(string: model.goods_image!), placeholderImage: UIImage.init(named: "Common_GoodsPlace"))
        goodsNameLabel.text = model.goods_name
        numLabel.text = "需求书：" + "\(model.goods_num)"
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
